package com.xjtu.project.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName order_detail
 */
@TableName(value ="order_detail")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "shoeId")
    private Integer shoeId;

    /**
     * 
     */
    @TableField(value = "orderId")
    private Integer orderId;

    /**
     * 
     */
    @TableField(value = "number")
    private Integer number;

    /**
     * 
     */
    @TableField(value = "amount")
    private BigDecimal amount;

    @TableField(value = "image")
    private String image;
    @TableField(value = "name")
    private String name;
    @TableField(value = "size")
    private Integer size;
}